.class public Lcom/netease/newsreader/util/BasePageViewAdapter;
.super Landroid/widget/BaseAdapter;
.source "BasePageViewAdapter.java"

# interfaces
.implements Landroid/widget/Filterable;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/netease/newsreader/util/BasePageViewAdapter$SimpleFilter;,
        Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinder;,
        Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinderWithKey;
    }
.end annotation


# instance fields
.field private adapterType:Ljava/lang/String;

.field private cut:Ljava/lang/String;

.field private db:Landroid/database/sqlite/SQLiteDatabase;

.field private imgHeight:I

.field private imgWidth:I

.field private mContext:Landroid/content/Context;

.field private mData:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<+",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;>;"
        }
    .end annotation
.end field

.field private mDropDownResource:I

.field private mFilter:Lcom/netease/newsreader/util/BasePageViewAdapter$SimpleFilter;

.field private mFrom:[Ljava/lang/String;

.field private final mHolders:Ljava/util/WeakHashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/WeakHashMap",
            "<",
            "Landroid/view/View;",
            "[",
            "Landroid/view/View;",
            ">;"
        }
    .end annotation
.end field

.field private mImageDownloader:Lcom/netease/newsreader/util/BaseImageDownloader;

.field private mInflater:Landroid/view/LayoutInflater;

.field private mResource:I

.field private mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

.field private mTo:[I

.field private mUnfilteredData:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;>;"
        }
    .end annotation
.end field

.field private mViewBinder:Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinder;

.field private mViewBinderWithKey:Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinderWithKey;

.field private screentype:I

.field private set_prefs:Landroid/content/SharedPreferences;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;I[Ljava/lang/String;[ILcom/netease/newsreader/util/BaseImageDownloader;)V
    .locals 1
    .parameter "context"
    .parameter
    .parameter "resource"
    .parameter "from"
    .parameter "to"
    .parameter "imageDownloader"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List",
            "<+",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;>;I[",
            "Ljava/lang/String;",
            "[I",
            "Lcom/netease/newsreader/util/BaseImageDownloader;",
            ")V"
        }
    .end annotation

    .prologue
    .local p2, data:Ljava/util/List;,"Ljava/util/List<+Ljava/util/Map<Ljava/lang/String;*>;>;"
    const/4 v0, 0x0

    .line 126
    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 82
    iput v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->imgWidth:I

    .line 83
    iput v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->imgHeight:I

    .line 91
    new-instance v0, Ljava/util/WeakHashMap;

    invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V

    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mHolders:Ljava/util/WeakHashMap;

    .line 96
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mImageDownloader:Lcom/netease/newsreader/util/BaseImageDownloader;

    .line 98
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->adapterType:Ljava/lang/String;

    .line 99
    const/4 v0, 0x3

    iput v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->screentype:I

    .line 129
    iput-object p2, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mData:Ljava/util/List;

    .line 130
    iput p3, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mDropDownResource:I

    iput p3, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mResource:I

    .line 131
    iput-object p4, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mFrom:[Ljava/lang/String;

    .line 132
    iput-object p5, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mTo:[I

    .line 134
    const-string v0, "layout_inflater"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    .line 133
    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mInflater:Landroid/view/LayoutInflater;

    .line 135
    iput-object p1, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    .line 136
    iput-object p6, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mImageDownloader:Lcom/netease/newsreader/util/BaseImageDownloader;

    .line 137
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/netease/newsreader/util/Tools;->getScreenMetrics(Landroid/content/Context;)I

    move-result v0

    iput v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->screentype:I

    .line 138
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    invoke-static {v0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;

    move-result-object v0

    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->set_prefs:Landroid/content/SharedPreferences;

    .line 139
    invoke-static {p1}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->getThemeSettingsHelper(Landroid/content/Context;)Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v0

    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    .line 140
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/util/List;I[Ljava/lang/String;[ILcom/netease/newsreader/util/BaseImageDownloader;IILjava/lang/String;)V
    .locals 1
    .parameter "context"
    .parameter
    .parameter "resource"
    .parameter "from"
    .parameter "to"
    .parameter "imageDownloader"
    .parameter "imgW"
    .parameter "imgH"
    .parameter "c"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List",
            "<+",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;>;I[",
            "Ljava/lang/String;",
            "[I",
            "Lcom/netease/newsreader/util/BaseImageDownloader;",
            "II",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .prologue
    .local p2, data:Ljava/util/List;,"Ljava/util/List<+Ljava/util/Map<Ljava/lang/String;*>;>;"
    const/4 v0, 0x0

    .line 145
    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 82
    iput v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->imgWidth:I

    .line 83
    iput v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->imgHeight:I

    .line 91
    new-instance v0, Ljava/util/WeakHashMap;

    invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V

    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mHolders:Ljava/util/WeakHashMap;

    .line 96
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mImageDownloader:Lcom/netease/newsreader/util/BaseImageDownloader;

    .line 98
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->adapterType:Ljava/lang/String;

    .line 99
    const/4 v0, 0x3

    iput v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->screentype:I

    .line 148
    iput-object p2, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mData:Ljava/util/List;

    .line 149
    iput p3, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mDropDownResource:I

    iput p3, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mResource:I

    .line 150
    iput-object p4, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mFrom:[Ljava/lang/String;

    .line 151
    iput-object p5, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mTo:[I

    .line 153
    const-string v0, "layout_inflater"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    .line 152
    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mInflater:Landroid/view/LayoutInflater;

    .line 154
    iput-object p1, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    .line 155
    iput-object p6, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mImageDownloader:Lcom/netease/newsreader/util/BaseImageDownloader;

    .line 157
    iput p7, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->imgWidth:I

    .line 158
    iput p8, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->imgHeight:I

    .line 159
    iput-object p9, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->cut:Ljava/lang/String;

    .line 160
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/netease/newsreader/util/Tools;->getScreenMetrics(Landroid/content/Context;)I

    move-result v0

    iput v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->screentype:I

    .line 161
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    invoke-static {v0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;

    move-result-object v0

    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->set_prefs:Landroid/content/SharedPreferences;

    .line 162
    invoke-static {p1}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->getThemeSettingsHelper(Landroid/content/Context;)Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v0

    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    .line 163
    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/util/BasePageViewAdapter;)Ljava/util/ArrayList;
    .locals 1
    .parameter

    .prologue
    .line 94
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mUnfilteredData:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$1(Lcom/netease/newsreader/util/BasePageViewAdapter;)Ljava/util/List;
    .locals 1
    .parameter

    .prologue
    .line 86
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mData:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$2(Lcom/netease/newsreader/util/BasePageViewAdapter;Ljava/util/ArrayList;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 94
    iput-object p1, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mUnfilteredData:Ljava/util/ArrayList;

    return-void
.end method

.method static synthetic access$3(Lcom/netease/newsreader/util/BasePageViewAdapter;)[I
    .locals 1
    .parameter

    .prologue
    .line 76
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mTo:[I

    return-object v0
.end method

.method static synthetic access$4(Lcom/netease/newsreader/util/BasePageViewAdapter;)[Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 77
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mFrom:[Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$5(Lcom/netease/newsreader/util/BasePageViewAdapter;Ljava/util/List;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 86
    iput-object p1, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mData:Ljava/util/List;

    return-void
.end method

.method private bindView(ILandroid/view/View;)V
    .locals 28
    .parameter "position"
    .parameter "view"

    .prologue
    .line 263
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mData:Ljava/util/List;

    move-object/from16 v24, v0

    if-eqz v24, :cond_0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mData:Ljava/util/List;

    move-object/from16 v24, v0

    invoke-interface/range {v24 .. v24}, Ljava/util/List;->size()I

    move-result v24

    if-nez v24, :cond_1

    .line 512
    :cond_0
    return-void

    .line 264
    :cond_1
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mData:Ljava/util/List;

    move-object/from16 v24, v0

    move-object/from16 v0, v24

    move/from16 v1, p1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Ljava/util/Map;

    .line 265
    .local v10, dataSet:Ljava/util/Map;
    if-eqz v10, :cond_0

    .line 269
    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mViewBinder:Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinder;

    .line 270
    .local v4, binder:Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinder;
    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mViewBinderWithKey:Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinderWithKey;

    .line 271
    .local v5, binderWithKey:Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinderWithKey;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mHolders:Ljava/util/WeakHashMap;

    move-object/from16 v24, v0

    move-object/from16 v0, v24

    move-object/from16 v1, p2

    invoke-virtual {v0, v1}, Ljava/util/WeakHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v14

    check-cast v14, [Landroid/view/View;

    .line 272
    .local v14, holder:[Landroid/view/View;
    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mFrom:[Ljava/lang/String;

    .line 273
    .local v13, from:[Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mTo:[I

    move-object/from16 v22, v0

    .line 274
    .local v22, to:[I
    move-object/from16 v0, v22

    array-length v7, v0

    .line 276
    .local v7, count:I
    const/4 v15, 0x0

    .local v15, i:I
    :goto_0
    if-ge v15, v7, :cond_0

    .line 277
    aget-object v23, v14, v15

    .line 278
    .local v23, v:Landroid/view/View;
    if-eqz v23, :cond_4

    .line 279
    aget-object v24, v13, v15

    move-object/from16 v0, v24

    invoke-interface {v10, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v9

    .line 280
    .local v9, data:Ljava/lang/Object;
    if-nez v9, :cond_5

    const-string v21, ""

    .line 281
    .local v21, text:Ljava/lang/String;
    :goto_1
    if-nez v21, :cond_6

    .line 282
    const-string v21, ""

    .line 287
    :cond_2
    :goto_2
    const/4 v6, 0x0

    .line 288
    .local v6, bound:Z
    if-eqz v4, :cond_7

    .line 289
    move-object/from16 v0, v23

    move-object/from16 v1, v21

    invoke-interface {v4, v0, v9, v1}, Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinder;->setViewValue(Landroid/view/View;Ljava/lang/Object;Ljava/lang/String;)Z

    move-result v6

    .line 294
    :cond_3
    :goto_3
    if-nez v6, :cond_4

    .line 295
    move-object/from16 v0, v23

    instance-of v0, v0, Landroid/widget/Checkable;

    move/from16 v24, v0

    if-eqz v24, :cond_9

    .line 296
    instance-of v0, v9, Ljava/lang/Boolean;

    move/from16 v24, v0

    if-eqz v24, :cond_8

    .line 297
    check-cast v23, Landroid/widget/Checkable;

    .end local v23           #v:Landroid/view/View;
    check-cast v9, Ljava/lang/Boolean;

    .end local v9           #data:Ljava/lang/Object;
    invoke-virtual {v9}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v24

    invoke-interface/range {v23 .. v24}, Landroid/widget/Checkable;->setChecked(Z)V

    .line 276
    .end local v6           #bound:Z
    .end local v21           #text:Ljava/lang/String;
    :cond_4
    :goto_4
    add-int/lit8 v15, v15, 0x1

    goto :goto_0

    .line 280
    .restart local v9       #data:Ljava/lang/Object;
    .restart local v23       #v:Landroid/view/View;
    :cond_5
    invoke-virtual {v9}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v21

    goto :goto_1

    .line 283
    .restart local v21       #text:Ljava/lang/String;
    :cond_6
    aget-object v24, v13, v15

    const-string v25, "ptime"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_2

    .line 284
    invoke-static/range {v21 .. v21}, Lcom/netease/newsreader/util/StringUtil;->getDate(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v21

    goto :goto_2

    .line 290
    .restart local v6       #bound:Z
    :cond_7
    if-eqz v5, :cond_3

    .line 291
    aget-object v24, v13, v15

    move-object/from16 v0, v23

    move-object/from16 v1, v24

    invoke-interface {v5, v0, v9, v1}, Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinderWithKey;->setViewValue(Landroid/view/View;Ljava/lang/Object;Ljava/lang/String;)Z

    move-result v6

    goto :goto_3

    .line 299
    :cond_8
    new-instance v24, Ljava/lang/IllegalStateException;

    new-instance v25, Ljava/lang/StringBuilder;

    invoke-virtual/range {v23 .. v23}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v26

    invoke-virtual/range {v26 .. v26}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v26

    invoke-static/range {v26 .. v26}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v26

    invoke-direct/range {v25 .. v26}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 300
    const-string v26, " should be bound to a Boolean, not a "

    invoke-virtual/range {v25 .. v26}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v25

    invoke-virtual {v9}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v26

    invoke-virtual/range {v25 .. v26}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v25

    invoke-virtual/range {v25 .. v25}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v25

    .line 299
    invoke-direct/range {v24 .. v25}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v24

    .line 302
    :cond_9
    move-object/from16 v0, v23

    instance-of v0, v0, Landroid/widget/TextView;

    move/from16 v24, v0

    if-eqz v24, :cond_1f

    .line 305
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mTo:[I

    move-object/from16 v24, v0

    aget v24, v24, v15

    const v25, 0x7f0c015f

    move/from16 v0, v24

    move/from16 v1, v25

    if-ne v0, v1, :cond_e

    .line 306
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v24, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v25, v0

    const v26, 0x7f020101

    move-object/from16 v0, v24

    move-object/from16 v1, v25

    move-object/from16 v2, v23

    move/from16 v3, v26

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 313
    :cond_a
    :goto_5
    invoke-virtual/range {v23 .. v23}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v24

    if-eqz v24, :cond_16

    invoke-virtual/range {v23 .. v23}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v24

    invoke-virtual/range {v24 .. v24}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v24

    const-string v25, "title"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_16

    .line 314
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v25, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v26, v0

    move-object/from16 v24, v23

    check-cast v24, Landroid/widget/TextView;

    const v27, 0x7f080027

    move-object/from16 v0, v25

    move-object/from16 v1, v26

    move-object/from16 v2, v24

    move/from16 v3, v27

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 315
    const-string v19, ""

    .line 316
    .local v19, sql:Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->adapterType:Ljava/lang/String;

    move-object/from16 v24, v0

    const-string v25, "day_rank"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_11

    .line 318
    const-string v24, "postid"

    move-object/from16 v0, v24

    invoke-interface {v10, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v24

    if-eqz v24, :cond_c

    .line 320
    const-string v19, "select * from article_read_status_list where article_read_doc_id=? and article_read_col_id= \'day\'"

    .line 327
    :try_start_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->db:Landroid/database/sqlite/SQLiteDatabase;

    move-object/from16 v24, v0

    const/16 v25, 0x1

    move/from16 v0, v25

    new-array v0, v0, [Ljava/lang/String;

    move-object/from16 v25, v0

    const/16 v26, 0x0

    .line 328
    const-string v27, "postid"

    .line 327
    move-object/from16 v0, v27

    invoke-interface {v10, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v27

    .line 328
    invoke-virtual/range {v27 .. v27}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v27

    aput-object v27, v25, v26

    .line 327
    move-object/from16 v0, v24

    move-object/from16 v1, v19

    move-object/from16 v2, v25

    invoke-virtual {v0, v1, v2}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v8

    .line 329
    .local v8, cursor:Landroid/database/Cursor;
    if-eqz v8, :cond_b

    invoke-interface {v8}, Landroid/database/Cursor;->getCount()I

    move-result v24

    if-lez v24, :cond_b

    invoke-interface {v8}, Landroid/database/Cursor;->moveToFirst()Z

    move-result v24

    if-eqz v24, :cond_b

    .line 330
    const-string v24, "article_read_is_read"

    move-object/from16 v0, v24

    invoke-interface {v8, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v24

    move/from16 v0, v24

    invoke-interface {v8, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v24

    const-string v25, "Y"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_b

    .line 332
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v25, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v26, v0

    move-object/from16 v0, v23

    check-cast v0, Landroid/widget/TextView;

    move-object/from16 v24, v0

    const v27, 0x7f080021

    move-object/from16 v0, v25

    move-object/from16 v1, v26

    move-object/from16 v2, v24

    move/from16 v3, v27

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 339
    :cond_b
    invoke-interface {v8}, Landroid/database/Cursor;->close()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .end local v8           #cursor:Landroid/database/Cursor;
    .end local v19           #sql:Ljava/lang/String;
    :cond_c
    :goto_6
    move-object/from16 v24, v23

    .line 415
    check-cast v24, Landroid/widget/TextView;

    move-object/from16 v0, p0

    move-object/from16 v1, v24

    move-object/from16 v2, v21

    invoke-virtual {v0, v1, v2}, Lcom/netease/newsreader/util/BasePageViewAdapter;->setViewText(Landroid/widget/TextView;Ljava/lang/String;)V

    .line 417
    invoke-virtual/range {v23 .. v23}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v24

    if-eqz v24, :cond_4

    invoke-virtual/range {v23 .. v23}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v24

    invoke-virtual/range {v24 .. v24}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v24

    const-string v25, "commentcount"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_4

    .line 419
    new-instance v24, Ljava/lang/StringBuilder;

    invoke-direct/range {v24 .. v24}, Ljava/lang/StringBuilder;-><init>()V

    const-string v25, "extendjson"

    move-object/from16 v0, v25

    invoke-interface {v10, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v25

    invoke-virtual/range {v24 .. v25}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v24

    invoke-virtual/range {v24 .. v24}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v24

    invoke-static/range {v24 .. v24}, Lcom/netease/newsreader/util/Tools;->StringToJson(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v12

    .line 420
    .local v12, exjson:Lorg/json/JSONObject;
    if-eqz v12, :cond_1d

    .line 422
    const-string v17, ""

    .line 424
    .local v17, rst:Ljava/lang/String;
    :try_start_1
    const-string v24, "TAG"

    move-object/from16 v0, v24

    invoke-virtual {v12, v0}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v24

    if-eqz v24, :cond_18

    const-string v17, ""

    .line 425
    :goto_7
    const-string v24, ""

    move-object/from16 v0, v24

    move-object/from16 v1, v17

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_1a

    .line 426
    const-string v24, "NTES"

    move-object/from16 v0, v24

    invoke-virtual {v12, v0}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v24

    if-eqz v24, :cond_19

    const-string v17, ""
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_3

    .line 440
    :cond_d
    :goto_8
    const-string v24, ""

    move-object/from16 v0, v24

    move-object/from16 v1, v17

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-nez v24, :cond_1b

    move-object/from16 v24, v23

    .line 441
    check-cast v24, Landroid/widget/TextView;

    move-object/from16 v0, p0

    move-object/from16 v1, v24

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Lcom/netease/newsreader/util/BasePageViewAdapter;->setViewText(Landroid/widget/TextView;Ljava/lang/String;)V

    .line 442
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v24, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v25, v0

    const v26, 0x7f02003d

    move-object/from16 v0, v24

    move-object/from16 v1, v25

    move-object/from16 v2, v23

    move/from16 v3, v26

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    move-object/from16 v24, v23

    .line 443
    check-cast v24, Landroid/widget/TextView;

    const/high16 v25, 0x4120

    invoke-virtual/range {v24 .. v25}, Landroid/widget/TextView;->setTextSize(F)V

    .line 444
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v25, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v26, v0

    move-object/from16 v24, v23

    check-cast v24, Landroid/widget/TextView;

    const v27, 0x7f08002d

    move-object/from16 v0, v25

    move-object/from16 v1, v26

    move-object/from16 v2, v24

    move/from16 v3, v27

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 445
    check-cast v23, Landroid/widget/TextView;

    .end local v23           #v:Landroid/view/View;
    const/16 v24, 0x8

    const/16 v25, 0x2

    const/16 v26, 0x8

    const/16 v27, 0x2

    invoke-virtual/range {v23 .. v27}, Landroid/widget/TextView;->setPadding(IIII)V

    goto/16 :goto_4

    .line 307
    .end local v12           #exjson:Lorg/json/JSONObject;
    .end local v17           #rst:Ljava/lang/String;
    .restart local v23       #v:Landroid/view/View;
    :cond_e
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mTo:[I

    move-object/from16 v24, v0

    aget v24, v24, v15

    const v25, 0x7f0c006b

    move/from16 v0, v24

    move/from16 v1, v25

    if-ne v0, v1, :cond_f

    .line 308
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v24, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v25, v0

    const v26, 0x7f02001f

    move-object/from16 v0, v24

    move-object/from16 v1, v25

    move-object/from16 v2, v23

    move/from16 v3, v26

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    goto/16 :goto_5

    .line 309
    :cond_f
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mTo:[I

    move-object/from16 v24, v0

    aget v24, v24, v15

    const v25, 0x7f0c00c8

    move/from16 v0, v24

    move/from16 v1, v25

    if-eq v0, v1, :cond_10

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mTo:[I

    move-object/from16 v24, v0

    aget v24, v24, v15

    const v25, 0x7f0c00c9

    move/from16 v0, v24

    move/from16 v1, v25

    if-eq v0, v1, :cond_10

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mTo:[I

    move-object/from16 v24, v0

    aget v24, v24, v15

    const v25, 0x7f0c00ca

    move/from16 v0, v24

    move/from16 v1, v25

    if-ne v0, v1, :cond_a

    .line 310
    :cond_10
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v25, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v26, v0

    move-object/from16 v24, v23

    check-cast v24, Landroid/widget/TextView;

    const v27, 0x7f08001f

    move-object/from16 v0, v25

    move-object/from16 v1, v26

    move-object/from16 v2, v24

    move/from16 v3, v27

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    goto/16 :goto_5

    .line 340
    .restart local v19       #sql:Ljava/lang/String;
    :catch_0
    move-exception v11

    .line 342
    .local v11, e:Ljava/lang/Exception;
    invoke-virtual {v11}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_6

    .line 345
    .end local v11           #e:Ljava/lang/Exception;
    :cond_11
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->adapterType:Ljava/lang/String;

    move-object/from16 v24, v0

    const-string v25, "week_rank"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_13

    .line 347
    const-string v24, "postid"

    move-object/from16 v0, v24

    invoke-interface {v10, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v24

    if-eqz v24, :cond_c

    .line 349
    const-string v19, "select * from article_read_status_list where article_read_doc_id=? and article_read_col_id= \'week\'"

    .line 356
    :try_start_2
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->db:Landroid/database/sqlite/SQLiteDatabase;

    move-object/from16 v24, v0

    const/16 v25, 0x1

    move/from16 v0, v25

    new-array v0, v0, [Ljava/lang/String;

    move-object/from16 v25, v0

    const/16 v26, 0x0

    .line 357
    const-string v27, "postid"

    .line 356
    move-object/from16 v0, v27

    invoke-interface {v10, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v27

    .line 357
    invoke-virtual/range {v27 .. v27}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v27

    aput-object v27, v25, v26

    .line 356
    move-object/from16 v0, v24

    move-object/from16 v1, v19

    move-object/from16 v2, v25

    invoke-virtual {v0, v1, v2}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v8

    .line 358
    .restart local v8       #cursor:Landroid/database/Cursor;
    if-eqz v8, :cond_12

    invoke-interface {v8}, Landroid/database/Cursor;->getCount()I

    move-result v24

    if-lez v24, :cond_12

    invoke-interface {v8}, Landroid/database/Cursor;->moveToFirst()Z

    move-result v24

    if-eqz v24, :cond_12

    .line 359
    const-string v24, "article_read_is_read"

    move-object/from16 v0, v24

    invoke-interface {v8, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v24

    move/from16 v0, v24

    invoke-interface {v8, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v24

    const-string v25, "Y"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_12

    .line 361
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v25, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v26, v0

    move-object/from16 v0, v23

    check-cast v0, Landroid/widget/TextView;

    move-object/from16 v24, v0

    const v27, 0x7f080021

    move-object/from16 v0, v25

    move-object/from16 v1, v26

    move-object/from16 v2, v24

    move/from16 v3, v27

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 367
    :cond_12
    invoke-interface {v8}, Landroid/database/Cursor;->close()V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    goto/16 :goto_6

    .line 368
    .end local v8           #cursor:Landroid/database/Cursor;
    :catch_1
    move-exception v11

    .line 370
    .restart local v11       #e:Ljava/lang/Exception;
    invoke-virtual {v11}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_6

    .line 373
    .end local v11           #e:Ljava/lang/Exception;
    :cond_13
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->adapterType:Ljava/lang/String;

    move-object/from16 v24, v0

    const-string v25, "news"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_c

    .line 374
    const-string v24, "docid"

    move-object/from16 v0, v24

    invoke-interface {v10, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v24

    if-eqz v24, :cond_c

    .line 375
    const-string v19, "select * from article_read_status_list where article_read_doc_id=?"

    .line 379
    const-string v24, "specialID"

    move-object/from16 v0, v24

    invoke-interface {v10, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v18

    check-cast v18, Ljava/lang/String;

    .line 380
    .local v18, specialid:Ljava/lang/String;
    if-nez v18, :cond_14

    const-string v18, ""

    .line 383
    :cond_14
    :try_start_3
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->db:Landroid/database/sqlite/SQLiteDatabase;

    move-object/from16 v24, v0

    const/16 v25, 0x1

    move/from16 v0, v25

    new-array v0, v0, [Ljava/lang/String;

    move-object/from16 v25, v0

    const/16 v26, 0x0

    .line 384
    const-string v27, "docid"

    .line 383
    move-object/from16 v0, v27

    invoke-interface {v10, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v27

    .line 384
    invoke-virtual/range {v27 .. v27}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v27

    aput-object v27, v25, v26

    .line 383
    move-object/from16 v0, v24

    move-object/from16 v1, v19

    move-object/from16 v2, v25

    invoke-virtual {v0, v1, v2}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v8

    .line 385
    .restart local v8       #cursor:Landroid/database/Cursor;
    if-eqz v8, :cond_15

    invoke-interface {v8}, Landroid/database/Cursor;->getCount()I

    move-result v24

    if-lez v24, :cond_15

    invoke-interface {v8}, Landroid/database/Cursor;->moveToFirst()Z

    move-result v24

    if-eqz v24, :cond_15

    .line 386
    const-string v24, "article_read_is_read"

    move-object/from16 v0, v24

    invoke-interface {v8, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v24

    move/from16 v0, v24

    invoke-interface {v8, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v24

    const-string v25, "Y"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_15

    .line 387
    const-string v24, ""

    move-object/from16 v0, v24

    move-object/from16 v1, v18

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_15

    .line 389
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v25, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v26, v0

    move-object/from16 v0, v23

    check-cast v0, Landroid/widget/TextView;

    move-object/from16 v24, v0

    const v27, 0x7f080021

    move-object/from16 v0, v25

    move-object/from16 v1, v26

    move-object/from16 v2, v24

    move/from16 v3, v27

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 395
    :cond_15
    invoke-interface {v8}, Landroid/database/Cursor;->close()V
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_2

    goto/16 :goto_6

    .line 396
    .end local v8           #cursor:Landroid/database/Cursor;
    :catch_2
    move-exception v11

    .line 398
    .restart local v11       #e:Ljava/lang/Exception;
    invoke-virtual {v11}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_6

    .line 403
    .end local v11           #e:Ljava/lang/Exception;
    .end local v18           #specialid:Ljava/lang/String;
    .end local v19           #sql:Ljava/lang/String;
    :cond_16
    invoke-virtual/range {v23 .. v23}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v24

    if-eqz v24, :cond_c

    invoke-virtual/range {v23 .. v23}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v24

    invoke-virtual/range {v24 .. v24}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v24

    const-string v25, "category_title"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_c

    .line 405
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->adapterType:Ljava/lang/String;

    move-object/from16 v24, v0

    const-string v25, "news"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_c

    .line 407
    const-string v24, ""

    move-object/from16 v0, v24

    move-object/from16 v1, v21

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_17

    .line 408
    const/16 v24, 0x8

    invoke-virtual/range {v23 .. v24}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_6

    .line 410
    :cond_17
    const/16 v24, 0x0

    invoke-virtual/range {v23 .. v24}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_6

    .line 424
    .restart local v12       #exjson:Lorg/json/JSONObject;
    .restart local v17       #rst:Ljava/lang/String;
    :cond_18
    :try_start_4
    const-string v24, "TAG"

    move-object/from16 v0, v24

    invoke-virtual {v12, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    goto/16 :goto_7

    .line 426
    :cond_19
    const-string v17, "\u72ec\u5bb6"

    goto/16 :goto_8

    .line 428
    :cond_1a
    invoke-virtual/range {v17 .. v17}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v17

    .line 429
    const-string v24, " "

    move-object/from16 v0, v17

    move-object/from16 v1, v24

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v20

    .line 430
    .local v20, tag:[Ljava/lang/String;
    if-eqz v20, :cond_d

    move-object/from16 v0, v20

    array-length v0, v0

    move/from16 v24, v0

    if-lez v24, :cond_d

    .line 431
    const/16 v24, 0x0

    aget-object v17, v20, v24
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_3

    goto/16 :goto_8

    .line 447
    .end local v20           #tag:[Ljava/lang/String;
    :cond_1b
    const-string v24, "\u4e13\u9898"

    move-object/from16 v0, v24

    move-object/from16 v1, v21

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_1c

    .line 449
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v24, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v25, v0

    const v26, 0x7f0200f7

    move-object/from16 v0, v24

    move-object/from16 v1, v25

    move-object/from16 v2, v23

    move/from16 v3, v26

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    move-object/from16 v24, v23

    .line 450
    check-cast v24, Landroid/widget/TextView;

    const/high16 v25, 0x4120

    invoke-virtual/range {v24 .. v25}, Landroid/widget/TextView;->setTextSize(F)V

    .line 451
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v25, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v26, v0

    move-object/from16 v24, v23

    check-cast v24, Landroid/widget/TextView;

    const v27, 0x7f08002d

    move-object/from16 v0, v25

    move-object/from16 v1, v26

    move-object/from16 v2, v24

    move/from16 v3, v27

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 452
    check-cast v23, Landroid/widget/TextView;

    .end local v23           #v:Landroid/view/View;
    const/16 v24, 0x8

    const/16 v25, 0x2

    const/16 v26, 0x8

    const/16 v27, 0x2

    invoke-virtual/range {v23 .. v27}, Landroid/widget/TextView;->setPadding(IIII)V

    goto/16 :goto_4

    .restart local v23       #v:Landroid/view/View;
    :cond_1c
    move-object/from16 v24, v23

    .line 454
    check-cast v24, Landroid/widget/TextView;

    const/16 v25, 0x0

    invoke-virtual/range {v24 .. v25}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 455
    check-cast v23, Landroid/widget/TextView;

    .end local v23           #v:Landroid/view/View;
    const/high16 v24, 0x4150

    invoke-virtual/range {v23 .. v24}, Landroid/widget/TextView;->setTextSize(F)V

    goto/16 :goto_4

    .line 461
    .end local v17           #rst:Ljava/lang/String;
    .restart local v23       #v:Landroid/view/View;
    :cond_1d
    const-string v24, "\u4e13\u9898"

    move-object/from16 v0, v24

    move-object/from16 v1, v21

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_1e

    .line 463
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v24, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v25, v0

    const v26, 0x7f0200f7

    move-object/from16 v0, v24

    move-object/from16 v1, v25

    move-object/from16 v2, v23

    move/from16 v3, v26

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    move-object/from16 v24, v23

    .line 464
    check-cast v24, Landroid/widget/TextView;

    const/high16 v25, 0x4120

    invoke-virtual/range {v24 .. v25}, Landroid/widget/TextView;->setTextSize(F)V

    .line 465
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mThemeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-object/from16 v25, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mContext:Landroid/content/Context;

    move-object/from16 v26, v0

    move-object/from16 v24, v23

    check-cast v24, Landroid/widget/TextView;

    const v27, 0x7f08002d

    move-object/from16 v0, v25

    move-object/from16 v1, v26

    move-object/from16 v2, v24

    move/from16 v3, v27

    invoke-virtual {v0, v1, v2, v3}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 466
    check-cast v23, Landroid/widget/TextView;

    .end local v23           #v:Landroid/view/View;
    const/16 v24, 0x8

    const/16 v25, 0x2

    const/16 v26, 0x8

    const/16 v27, 0x2

    invoke-virtual/range {v23 .. v27}, Landroid/widget/TextView;->setPadding(IIII)V

    goto/16 :goto_4

    .restart local v23       #v:Landroid/view/View;
    :cond_1e
    move-object/from16 v24, v23

    .line 468
    check-cast v24, Landroid/widget/TextView;

    const/16 v25, 0x0

    invoke-virtual/range {v24 .. v25}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 469
    check-cast v23, Landroid/widget/TextView;

    .end local v23           #v:Landroid/view/View;
    const/high16 v24, 0x4150

    invoke-virtual/range {v23 .. v24}, Landroid/widget/TextView;->setTextSize(F)V

    goto/16 :goto_4

    .line 478
    .end local v12           #exjson:Lorg/json/JSONObject;
    .restart local v23       #v:Landroid/view/View;
    :cond_1f
    move-object/from16 v0, v23

    instance-of v0, v0, Landroid/widget/ImageView;

    move/from16 v24, v0

    if-eqz v24, :cond_22

    .line 480
    const/16 v24, 0x0

    invoke-virtual/range {v23 .. v24}, Landroid/view/View;->setVisibility(I)V

    .line 481
    instance-of v0, v9, Ljava/lang/Integer;

    move/from16 v24, v0

    if-eqz v24, :cond_20

    .line 482
    check-cast v23, Landroid/widget/ImageView;

    .end local v23           #v:Landroid/view/View;
    check-cast v9, Ljava/lang/Integer;

    .end local v9           #data:Ljava/lang/Object;
    invoke-virtual {v9}, Ljava/lang/Integer;->intValue()I

    move-result v24

    move-object/from16 v0, p0

    move-object/from16 v1, v23

    move/from16 v2, v24

    invoke-virtual {v0, v1, v2}, Lcom/netease/newsreader/util/BasePageViewAdapter;->setViewImage(Landroid/widget/ImageView;I)V

    goto/16 :goto_4

    .restart local v9       #data:Ljava/lang/Object;
    .restart local v23       #v:Landroid/view/View;
    :cond_20
    move-object/from16 v16, v23

    .line 484
    check-cast v16, Landroid/widget/ImageView;

    .line 486
    .local v16, iv:Landroid/widget/ImageView;
    invoke-virtual/range {v16 .. v16}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v24

    if-eqz v24, :cond_21

    invoke-virtual/range {v16 .. v16}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v24

    invoke-virtual/range {v24 .. v24}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v24

    const-string v25, "top_image"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-nez v24, :cond_4

    .line 487
    :cond_21
    aget-object v24, v13, v15

    const-string v25, "imgsrc"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v24

    if-eqz v24, :cond_4

    .line 490
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mImageDownloader:Lcom/netease/newsreader/util/BaseImageDownloader;

    move-object/from16 v24, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->imgWidth:I

    move/from16 v25, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->imgHeight:I

    move/from16 v26, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->cut:Ljava/lang/String;

    move-object/from16 v27, v0

    invoke-virtual/range {v24 .. v27}, Lcom/netease/newsreader/util/BaseImageDownloader;->setBitmapWandH(IILjava/lang/String;)V

    .line 491
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mImageDownloader:Lcom/netease/newsreader/util/BaseImageDownloader;

    move-object/from16 v24, v0

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v25

    invoke-virtual/range {v24 .. v25}, Lcom/netease/newsreader/util/BaseImageDownloader;->setThread(Ljava/lang/Thread;)V

    .line 492
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mImageDownloader:Lcom/netease/newsreader/util/BaseImageDownloader;

    move-object/from16 v24, v0

    move-object/from16 v0, v24

    move-object/from16 v1, v21

    move-object/from16 v2, v16

    invoke-virtual {v0, v1, v2}, Lcom/netease/newsreader/util/BaseImageDownloader;->download(Ljava/lang/String;Landroid/widget/ImageView;)V

    goto/16 :goto_4

    .line 502
    .end local v16           #iv:Landroid/widget/ImageView;
    :cond_22
    move-object/from16 v0, v23

    instance-of v0, v0, Landroid/widget/RatingBar;

    move/from16 v24, v0

    if-eqz v24, :cond_23

    .line 503
    check-cast v23, Landroid/widget/RatingBar;

    .end local v23           #v:Landroid/view/View;
    move-object/from16 v0, p0

    move-object/from16 v1, v23

    invoke-virtual {v0, v1, v9}, Lcom/netease/newsreader/util/BasePageViewAdapter;->setRatingBar(Landroid/widget/RatingBar;Ljava/lang/Object;)V

    goto/16 :goto_4

    .line 505
    .restart local v23       #v:Landroid/view/View;
    :cond_23
    new-instance v24, Ljava/lang/IllegalStateException;

    new-instance v25, Ljava/lang/StringBuilder;

    invoke-virtual/range {v23 .. v23}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v26

    invoke-virtual/range {v26 .. v26}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v26

    invoke-static/range {v26 .. v26}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v26

    invoke-direct/range {v25 .. v26}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 506
    const-string v26, " is not a "

    invoke-virtual/range {v25 .. v26}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v25

    .line 507
    const-string v26, " view that can be bounds by this SimpleAdapter"

    invoke-virtual/range {v25 .. v26}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v25

    invoke-virtual/range {v25 .. v25}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v25

    .line 505
    invoke-direct/range {v24 .. v25}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v24

    .line 436
    .restart local v12       #exjson:Lorg/json/JSONObject;
    .restart local v17       #rst:Ljava/lang/String;
    :catch_3
    move-exception v24

    goto/16 :goto_8
.end method

.method private createViewFromResource(ILandroid/view/View;Landroid/view/ViewGroup;I)Landroid/view/View;
    .locals 7
    .parameter "position"
    .parameter "convertView"
    .parameter "parent"
    .parameter "resource"

    .prologue
    .line 209
    if-nez p2, :cond_5

    .line 210
    iget-object v5, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mInflater:Landroid/view/LayoutInflater;

    const/4 v6, 0x0

    invoke-virtual {v5, p4, p3, v6}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v4

    .line 212
    .local v4, v:Landroid/view/View;
    iget-object v3, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mTo:[I

    .line 213
    .local v3, to:[I
    array-length v0, v3

    .line 214
    .local v0, count:I
    new-array v1, v0, [Landroid/view/View;

    .line 216
    .local v1, holder:[Landroid/view/View;
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-lt v2, v0, :cond_0

    .line 231
    iget-object v5, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mHolders:Ljava/util/WeakHashMap;

    invoke-virtual {v5, v4, v1}, Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 238
    .end local v0           #count:I
    .end local v1           #holder:[Landroid/view/View;
    .end local v2           #i:I
    .end local v3           #to:[I
    :goto_1
    invoke-direct {p0, p1, v4}, Lcom/netease/newsreader/util/BasePageViewAdapter;->bindView(ILandroid/view/View;)V

    .line 240
    return-object v4

    .line 217
    .restart local v0       #count:I
    .restart local v1       #holder:[Landroid/view/View;
    .restart local v2       #i:I
    .restart local v3       #to:[I
    :cond_0
    aget v5, v3, v2

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    aput-object v5, v1, v2

    .line 218
    aget v5, v3, v2

    const v6, 0x7f0c00c7

    if-eq v5, v6, :cond_1

    aget v5, v3, v2

    const v6, 0x7f0c006c

    if-eq v5, v6, :cond_1

    .line 219
    aget v5, v3, v2

    const v6, 0x7f0c00f6

    if-eq v5, v6, :cond_1

    aget v5, v3, v2

    const v6, 0x7f0c0089

    if-ne v5, v6, :cond_2

    .line 220
    :cond_1
    aget-object v5, v1, v2

    const-string v6, "title"

    invoke-virtual {v5, v6}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 222
    :cond_2
    aget v5, v3, v2

    const v6, 0x7f0c015a

    if-ne v5, v6, :cond_3

    .line 223
    aget-object v5, v1, v2

    const-string v6, "category_title"

    invoke-virtual {v5, v6}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 225
    :cond_3
    aget v5, v3, v2

    const v6, 0x7f0c00c9

    if-ne v5, v6, :cond_4

    .line 226
    aget-object v5, v1, v2

    const-string v6, "commentcount"

    invoke-virtual {v5, v6}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 216
    :cond_4
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 234
    .end local v0           #count:I
    .end local v1           #holder:[Landroid/view/View;
    .end local v2           #i:I
    .end local v3           #to:[I
    .end local v4           #v:Landroid/view/View;
    :cond_5
    move-object v4, p2

    .restart local v4       #v:Landroid/view/View;
    goto :goto_1
.end method


# virtual methods
.method public getCount()I
    .locals 1

    .prologue
    .line 181
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mData:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getData()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<+",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;>;"
        }
    .end annotation

    .prologue
    .line 174
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mData:Ljava/util/List;

    return-object v0
.end method

.method public getDropDownView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 1
    .parameter "position"
    .parameter "convertView"
    .parameter "parent"

    .prologue
    .line 258
    .line 259
    iget v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mDropDownResource:I

    .line 258
    invoke-direct {p0, p1, p2, p3, v0}, Lcom/netease/newsreader/util/BasePageViewAdapter;->createViewFromResource(ILandroid/view/View;Landroid/view/ViewGroup;I)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public getFilter()Landroid/widget/Filter;
    .locals 2

    .prologue
    .line 619
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mFilter:Lcom/netease/newsreader/util/BasePageViewAdapter$SimpleFilter;

    if-nez v0, :cond_0

    .line 620
    new-instance v0, Lcom/netease/newsreader/util/BasePageViewAdapter$SimpleFilter;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/netease/newsreader/util/BasePageViewAdapter$SimpleFilter;-><init>(Lcom/netease/newsreader/util/BasePageViewAdapter;Lcom/netease/newsreader/util/BasePageViewAdapter$SimpleFilter;)V

    iput-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mFilter:Lcom/netease/newsreader/util/BasePageViewAdapter$SimpleFilter;

    .line 622
    :cond_0
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mFilter:Lcom/netease/newsreader/util/BasePageViewAdapter$SimpleFilter;

    return-object v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1
    .parameter "position"

    .prologue
    .line 188
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mData:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2
    .parameter "position"

    .prologue
    .line 195
    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 1
    .parameter "position"
    .parameter "convertView"
    .parameter "parent"

    .prologue
    .line 202
    iget v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mResource:I

    invoke-direct {p0, p1, p2, p3, v0}, Lcom/netease/newsreader/util/BasePageViewAdapter;->createViewFromResource(ILandroid/view/View;Landroid/view/ViewGroup;I)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public getViewBinder()Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinder;
    .locals 1

    .prologue
    .line 536
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mViewBinder:Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinder;

    return-object v0
.end method

.method public getViewBinderWithKey()Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinderWithKey;
    .locals 1

    .prologue
    .line 664
    iget-object v0, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mViewBinderWithKey:Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinderWithKey;

    return-object v0
.end method

.method public setAdapterType(Ljava/lang/String;)V
    .locals 0
    .parameter "type"

    .prologue
    .line 170
    iput-object p1, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->adapterType:Ljava/lang/String;

    .line 171
    return-void
.end method

.method public setDB(Landroid/database/sqlite/SQLiteDatabase;)V
    .locals 0
    .parameter "db"

    .prologue
    .line 166
    iput-object p1, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 167
    return-void
.end method

.method public setDropDownViewResource(I)V
    .locals 0
    .parameter "resource"

    .prologue
    .line 253
    iput p1, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mDropDownResource:I

    .line 254
    return-void
.end method

.method public setRatingBar(Landroid/widget/RatingBar;Ljava/lang/Object;)V
    .locals 2
    .parameter "v"
    .parameter "value"

    .prologue
    .line 524
    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result v0

    .line 525
    .local v0, f:F
    invoke-virtual {p1, v0}, Landroid/widget/RatingBar;->setRating(F)V

    .line 526
    return-void
.end method

.method public setViewBinder(Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinder;)V
    .locals 0
    .parameter "viewBinder"

    .prologue
    .line 549
    iput-object p1, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mViewBinder:Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinder;

    .line 550
    return-void
.end method

.method public setViewBinderWithKey(Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinderWithKey;)V
    .locals 0
    .parameter "viewBinderWithKey"

    .prologue
    .line 668
    iput-object p1, p0, Lcom/netease/newsreader/util/BasePageViewAdapter;->mViewBinderWithKey:Lcom/netease/newsreader/util/BasePageViewAdapter$ViewBinderWithKey;

    .line 669
    return-void
.end method

.method public setViewImage(Landroid/widget/ImageView;I)V
    .locals 0
    .parameter "v"
    .parameter "value"

    .prologue
    .line 568
    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 569
    return-void
.end method

.method public setViewImage(Landroid/widget/ImageView;Ljava/lang/String;)V
    .locals 2
    .parameter "v"
    .parameter "value"

    .prologue
    .line 591
    const/4 v0, 0x0

    .line 595
    .local v0, bm:Landroid/graphics/Bitmap;
    :try_start_0
    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 601
    :goto_0
    return-void

    .line 596
    :catch_0
    move-exception v1

    .line 598
    .local v1, e:Ljava/lang/Exception;
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public setViewText(Landroid/widget/TextView;Ljava/lang/String;)V
    .locals 0
    .parameter "v"
    .parameter "text"

    .prologue
    .line 614
    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 615
    return-void
.end method
